package cn.cvs.mapper.sysrole;

import cn.cvs.pojo.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description:
 */

public interface SysRoleMapper {
    List<SysRole> getSysRoleList();

    int update(SysRole sysRole);

    int delete(List<Integer> ids);

    int add(SysRole sysRole);

    SysRole getSysRoleById(Integer id);

    List<SysRole> getSysRoleAllListPage(@Param ( "pageNo" ) Integer pageNo,@Param ( "pageSize" ) Integer pageSize);

    int getCount();

    SysRole checkCodeExist(String code);

}
